package lr.com.demo.service;

import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;

public abstract class RedisMessageListener implements MessageListener {
	@Override
	public void onMessage(Message message, byte[] pattern) {
		handleMessage(message);
	}
	abstract void handleMessage(Message message);
}
